<table>
  <tbody>
    <tr>
      <th>Id:</th>
      <td><?php echo $payment->getid() ?></td>
    </tr>
    <tr>
      <th>Case type:</th>
      <td><?php echo $payment->getcase_type() ?></td>
    </tr>
    <tr>
      <th>Credit line:</th>
      <td><?php echo $payment->getcredit_line() ?></td>
    </tr>
    <tr>
      <th>Days:</th>
      <td><?php echo $payment->getdays() ?></td>
    </tr>
    <tr>
      <th>Person:</th>
      <td><?php echo $payment->getperson_id() ?></td>
    </tr>
    <tr>
      <th>Client:</th>
      <td><?php echo $payment->getclient_id() ?></td>
    </tr>
    <tr>
      <th>Created at:</th>
      <td><?php echo $payment->getcreated_at() ?></td>
    </tr>
    <tr>
      <th>Updated at:</th>
      <td><?php echo $payment->getupdated_at() ?></td>
    </tr>
  </tbody>
</table>

<hr />

<a href="<?php echo url_for('px_payment/edit?id='.$payment['id']) ?>">Edit</a>
&nbsp;
<a href="<?php echo url_for('px_payment/index') ?>">List</a>

<?php slot('submenu') ?>
<ul>
	<li><?php echo link_to(image_tag('contact info.png', array('title'=>"Contact Info", 'width'=>'65px')), 'px/show?id='.$px_id) ?></li>
	<li><?php echo link_to(image_tag('personal info.png', array('title'=>"Personal Info", 'width'=>'65px')), 'px_personal/index?px_id='.$px_id) ?></li>
	<li><?php echo link_to(image_tag('passport info.png', array('title'=>"Passport Info", 'width'=>'65px')), 'passport/index?px_id='.$px_id) ?></li>
	<li><?php echo link_to(image_tag('visa.png', array('title'=>"Visa Info", 'width'=>'65px')), 'visa/index?px_id='.$px_id) ?></li>
	<li><?php echo link_to(image_tag('payment arrangements.png', array('title'=>"Payment Arrangements", 'width'=>'65px')), 'px_payment/index?px_id='.$px_id) ?></li>
	<li><?php echo link_to(image_tag('transaction history.png', array('title'=>"Transaction History", 'width'=>'65px')), 'px_transaction/index?px_id='.$px_id) ?></li>
	<li><?php echo link_to(image_tag('other note.png', array('title'=>"Other Notes", 'width'=>'65px')), 'px_note/index?px_id='.$px_id) ?></li>
</ul>
<?php end_slot() ?>